﻿



using System; 
using System.Collections;
using System.Collections.Generic ;
using System.Runtime.Serialization;

namespace ufida.u9.ait.openapi
{
	/// <summary>
	/// 委外发料单返回数据DTO Copy DTO :REST自定义的数据传输类型 
	/// 
	/// </summary>
	[DataContract(Namespace = "ufida.u9.ait.openapi")]
	[Serializable]
	public partial class CopyOfApprovePMIssueDoc4ExternalDTOData  
	{
		/// <summary>
		/// Default Constructor
		/// </summary>
		public CopyOfApprovePMIssueDoc4ExternalDTOData()
		{
			initData();
		}
		private void initData()
		{
		
					IsSucceed=true; 
		
					OperateType=false; 

			//调用默认值初始化服务进行配置方式初始化
			UFSoft.UBF.Service.DTOService.InitConfigDefault(this);
		}
		[System.Runtime.Serialization.OnDeserializing]
		internal void OnDeserializing(System.Runtime.Serialization.StreamingContext context)
		{
			 initData();
		}
		#region Do SerializeKey -ForDTODataType
		//只为处理集合型EntityKey。原因集合型EntityKey由于使用臫的集合对象，无法实现数据共享.-UBF专用.
		public void DoSerializeKeyList(IDictionary dict)
		{
			if (dict == null ) dict = new Hashtable() ;
			if (dict[this] != null)
				return ;
			dict[this] = this;
	        	        	        	        
		}
		#endregion 
		/// <summary>
		/// Constructor Full Argument
		/// </summary>
		public CopyOfApprovePMIssueDoc4ExternalDTOData(  System.String docNo  , System.Boolean isSucceed  , System.String errorMsg  , System.Boolean operateType  )
		{
			initData();
			this.DocNo = docNo;
			this.IsSucceed = isSucceed;
			this.ErrorMsg = errorMsg;
			this.OperateType = operateType;
		}
		#region System Fields 
		//--系统字段,目前没有.EntityData上有相应的字段,用于保存相关的实体状态信息,DTO上没有状态信息.	
		#endregion
		
		#region DTO Properties 
	
		

		/// <summary>
		/// 单号
		/// 委外发料单返回数据DTO Copy.Misc.单号
		/// </summary>
		private System.String m_docNo ;
		[DataMember(IsRequired=false)]
		public System.String DocNo
		{
			get	
			{	
				return m_docNo ;
			}
			set	
			{	
				m_docNo = value ;	
			}
		}
			
		

		/// <summary>
		/// 审核标志
		/// 委外发料单返回数据DTO Copy.Misc.审核标志
		/// </summary>
		private System.Boolean m_isSucceed ;
		[DataMember(IsRequired=false)]
		public System.Boolean IsSucceed
		{
			get	
			{	
				return m_isSucceed ;
			}
			set	
			{	
				m_isSucceed = value ;	
			}
		}
			
		

		/// <summary>
		/// 异常信息
		/// 委外发料单返回数据DTO Copy.Misc.异常信息
		/// </summary>
		private System.String m_errorMsg ;
		[DataMember(IsRequired=false)]
		public System.String ErrorMsg
		{
			get	
			{	
				return m_errorMsg ;
			}
			set	
			{	
				m_errorMsg = value ;	
			}
		}
			
		

		/// <summary>
		/// 操作类型
		/// 委外发料单返回数据DTO Copy.Misc.操作类型
		/// </summary>
		private System.Boolean m_operateType ;
		[DataMember(IsRequired=false)]
		public System.Boolean OperateType
		{
			get	
			{	
				return m_operateType ;
			}
			set	
			{	
				m_operateType = value ;	
			}
		}
			
		#endregion	

		#region Multi_Fields
								
		#endregion 
	} 	
}
